package com.example.serviceA.api;

import com.example.serviceA.req.TransferOutReq;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "serviceA", path = "/account")
public interface ServiceAAccountApi {

    @PostMapping("/transfer-out")
    void transferOut(@RequestBody TransferOutReq req);

}
